﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CE.CarInsurance
{
    public class FleetRequest
    {
        private Int64 _requestid;
        private string _companyname;
        private string _website;
        private string _name;
        private string _email;
        private string _mobile;
        private string _companycontactno;
        private Int32 _noofcars;
        private Int16 _callat;
        private Int32 _isexistcustomer;
        private Int64 _agentid;
        private Int16 _isaccepttc;
        private Int16 _status;

        public FleetRequest()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 RequestId
        {
            get { return _requestid; }
            set { _requestid = value; }
        }

        public string CompanyName
        {
            get { return _companyname; }
            set { _companyname = value; }
        }

        public string WebSite
        {
            get { return _website; }
            set { _website = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Mobile
        {
            get { return _mobile; }
            set { _mobile = value; }
        }

        public string CompanyContactNo
        {
            get { return _companycontactno; }
            set { _companycontactno = value; }
        }

        public Int32 NoOfCars
        {
            get { return _noofcars; }
            set { _noofcars = value; }
        }

        public Int16 CallAt
        {
            get { return _callat; }
            set { _callat = value; }
        }

        public Int32 IsExistCustomer
        {
            get { return _isexistcustomer; }
            set { _isexistcustomer = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int16 IsAcceptTC
        {
            get { return _isaccepttc; }
            set { _isaccepttc = value; }
        }

        public Int16 Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public void ClearFields()
        {
            _requestid = 0;
            _companyname = "";
            _website = "";
            _name = "";
            _email = "";
            _mobile = "";
            _companycontactno = "";
            _noofcars = 0;
            _callat = 0;
            _isexistcustomer = 0;
            _agentid = 0;
            _isaccepttc = 1;
            _status = 0;
        }

    }
}
